Package com.bitmovin.player.api.advertising

Contains API to enable advertising workflows.

Types

Link copied to clipboard
interface Ad

Defines basic properties available for every ad type

Link copied to clipboard
interface AdBreak : AdConfig

Contains information about an ad break.

Link copied to clipboard
interface AdBreakConfig : AdTagConfig

Contains configuration options for an AdBreak.

Link copied to clipboard
interface AdConfig

Contains the base configuration options for an ad.

Link copied to clipboard
interface AdData

Holds various additional ad data. Refer to ImaAdData for more information on what additional data is available when using the Google IMA SDK implementation.

Link copied to clipboard
data class AdItem(sources: Array<AdSource>, position: String, replaceContentDuration: Double, preloadOffset: Double) : Parcelable

Represents an ad break which can be scheduled for playback.

Link copied to clipboard
enum AdQuartile
Quartiles that can be reached during an ad playback.
Link copied to clipboard
interface AdsManagerAvailableCallback
Can be implemented to gain access to the currently used IMA AdsManager.
Link copied to clipboard
data class AdSource(type: AdSourceType, tag: String) : Parcelable

Represents an ad source which can be assigned to an AdItem. An AdItem can have multiple AdSources as waterfalling option.

Link copied to clipboard
enum AdSourceType : Enum<AdSourceType> , Parcelable

The available types an AdSource can have.

Link copied to clipboard
class AdTag(url: String, type: AdTagType)

Defines the url and type of an ad manifest.

Link copied to clipboard
interface AdTagConfig : AdConfig

Contains configuration options for an AdTag.

Link copied to clipboard
enum AdTagType : Enum<AdTagType>

Types that can be specified for an AdTag.

Link copied to clipboard
data class AdvertisingConfig(schedule: List<AdItem>, companionAdContainers: List<CompanionAdContainer>?, adsManagerAvailableCallback: AdsManagerAvailableCallback?, beforeInitialization: BeforeInitializationCallback?, imaUiElements: List<ImaUiElement>?) : Parcelable

Contains configuration values regarding the ads which should be played back by the player.

Link copied to clipboard
interface BeforeInitializationCallback
A callback to be invoked before IMA initialization, exposing the IMA settings
Link copied to clipboard
data class CompanionAdContainer(container: ViewGroup, width: Int, height: Int)
Link copied to clipboard
interface LinearAd : Ad

Defines a linear ad which requires the playback of the content to stop

Link copied to clipboard
interface OverlayAd : Ad

Defines an ad which gets displayed during content playback